<ol id="sections">
    <li class="section">
        <div class="dp-content">
            <div id="my-account">
                <div id="account-body">
                    <div id="header-sign-in">
                        <?php if ($command == "redirect"): ?>
                            <div id="success-notice-2">
                                Welcome, Batanayi, you've successfully signed in to DocPlus! Please wait a moment while this page is being refreshed on your behalf.
                            </div>
                            <script type="text/javascript">
                                //[CDATA[
                                $(document).ready(function(){
                                    // reload the current parent window
                                    reloadWindow();
                                });
                                //]]
                            </script>
                        <?php else: ?>
                            <form id="sign-in-form" action="<?php echo url_for('/profile-sign-in') ?>" method="post">
                                <?php echo $form->renderHiddenFields(false) ?>
                                <?php include_partial("common/input_field", array("form" => $form, "field" => "email")) ?>
                                <?php include_partial("common/input_field", array("form" => $form, "field" => "password")) ?>
                                <div class="sign-in-row">
                                    <ul>
                                        <li>
                                            <button id="submit-sign-in" type="submit" class="blue-button-30">Sign In</button>
                                        </li>
                                        <li>
                                            <div>I forgot my <a id="forgot-password-link" href="/profile-reset-password">password</a></div>
                                        </li>
                                    </ul>
                                </div>
                            </form>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </li>
</ol>